package com.cloudrui.service.wechat;

import cn.zhouyafeng.itchat4j.Wechat;
import cn.zhouyafeng.itchat4j.face.IMsgHandlerFace;

public class Main {

	public static void main(String[] args) {
		String qrPath = "/Users/macky/Desktop";//保存登陆二维码图片的路径，这里需要在本地新建目录
		IMsgHandlerFace msgHandler = new WeChatMsgHandler();//实现IMsgHandlerFace接口的类
		//IMsgHandlerFace msgHandler = new TulinSerevice();
		Wechat wechat = new Wechat(msgHandler, qrPath); //【注入】
		wechat.start();

	}

}
